package com.base.self.dto.commodity;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class CommodityWebListDTO implements Serializable {
    @NotNull
    @ApiModelProperty(value="页码", example = "1")
    private Integer offset;

    @NotNull
    @ApiModelProperty(value="页码大小",example = "10")
    private Integer limit;

    @ApiModelProperty(value="商品名称")
    private String commodityName;

    @ApiModelProperty(value="商品分区 0: 奖励金区 1：积分",example = "0")
    private Integer commoditySubarea;

    @ApiModelProperty(value="商品一级分类")
    private Integer commodityClassifyLevel1;
}
